package org.example7;

public interface Animal {

    default public  void greet(Animal a) {
        System.out.println("Hello Animal");
    }
    public default void sniff(Animal a) {
        System.out.println("sniff Animal");
    }
    default void praise(Animal a) {
        System.out.println("you are cool animal");
    }



}
